function parse(filePath){

    var xlsx2json = require('xlsx2json');
    var p = new Promise((resolve, reject)=>{
        xlsx2json(filePath).then(jsonArray => {
            resolve(jsonArray);
        }, err=>{
            reject('err');
        });
    });
    return p;
}

module.exports = parse;